package com.iwhalecloud.citybrain.flow.platform.manager.domain.model.statistics;

import java.io.Serializable;
import java.util.Date;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.monitor.FlowTaskTraceVo;
import lombok.Data;
import org.springframework.beans.BeanUtils;

/**
 * @author lilh
 * @date 2019-08-26 13:54
 */
@Data
public class TaskStatisticsListVo implements Serializable {

    private static final long serialVersionUID = -7027110755893362314L;
    private String id;

    private String taskId;

    private String modelKey;

    private String modelName;

    private String activityId;

    private String taskName;

    private Date createTime;

    private String status;

    private String operator;

    public TaskStatisticsListVo(FlowTaskTraceVo source) {
        BeanUtils.copyProperties(source, this);
    }

}
